package com.ejuornal.dao;

import java.util.List;

import com.ejuornal.bean.vo.ECUserPeriodical;
/**
 * Description 编委-用户-用户扩展-期刊 四个表的组合表
 * @author Administrator
 *
 */
public interface EditorCommitVoDao {
	/**
	 * Description 根据主编id获取该主编管理的所有期刊的编委
	 * @author lwf 
	 * @param editorChief
	 * @return List<ECUserPeriodical>
	 */
	public List<ECUserPeriodical> findAllByEditorChiefId (int editorChief);
	
	/**
	 * Description 根据主编id获取所管理的期刊编委-状态为未审核的
	 * @author lwf
	 * @param editorChief
	 * @param state 状态
	 * @return List<ECUserPeriodical>
	 */
	public List<ECUserPeriodical> findAllByECIdState (int editorChief,int state);
	
	/**
	 * Descvription 根据编委id获取该编委信息
	 * @author lwf
	 * @return
	 */
	public ECUserPeriodical getEditorCommitInfoById(int editorCommitId);
	
	/**
	 * Desription 根据期刊id获取所有的该期刊信息
	 * @author lwf
	 * @param periodicalId
	 * @return List<ECUserPeriodical>
	 */
	public List<ECUserPeriodical> findAllEditorCommitBiPerId(int periodicalId); 
}
